OBJS = main.o 
CFLAGS = -g -Wall -Werror -I../../include/ -c 


all: sample_readconf 


sample_readconf: $(OBJS)
	@gcc main.o -L../../ -lreadconf -o sample_readconf 
	@echo "sample_readconf is okay. "


%.o: %.c
	@$(CC) $*.c $(CFLAGS) 
	@echo "CC 	" $*

.PHONY clean:
	@rm $(OBJS) -f 

